Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add accessibility options for tab justification and content #1035

Merged
merged 1 commit into from
Oct 21, 2024

Conversation

nikclayton
Copy link
Contributor

@nikclayton nikclayton commented Oct 21, 2024

Provide two new lab preferences for controlling the layout and content of main navigation tabs.

Tabs can now be justfied to start, end, or fully (if room). Start/end justification may put the tabs closer to the user's fingers, depending on how they hold the device. Fully justified uses the full width of the tab bar (if the tabs don't require scrolling).

The content can be set to one of:

  • Icon only (previous behaviour)
  • Text only
  • Icon with text beside
  • Icon with text below

Fixes #336

Provide two new lab preferences for controlling the layout and content
of main navigation tabs.

Tabs can now be justfied to start, end, or fully (if room). start/end
justification may put the tabs closer to the user's fingers, depending
on how they hold the device. Fully justified uses the full width of
the tab bar (if the tabs don't require scrolling).

The content can be set to one of:

- Icon only (previous behaviour)
- Text only
- Icon with text beside
- Icon with text below
@nikclayton nikclayton merged commit 2234c4c into main Oct 21, 2024
25 checks passed
@nikclayton nikclayton deleted the 336-tab-alignment branch October 21, 2024 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Customizable Navigation Tab Alignment
1 participant